import request from '@/utils/request'

// 查询商户详情信息列表
export function listStoreDetail(query) {
  return request({
    url: '/core/storeDetail/list',
    method: 'get',
    params: query
  })
}

// 查询商户详情信息详细
export function getStoreDetail(id) {
  return request({
    url: '/core/storeDetail/' + id,
    method: 'get'
  })
}

// 新增商户详情信息
export function addStoreDetail(data) {
  return request({
    url: '/core/storeDetail',
    method: 'post',
    data: data
  })
}

// 修改商户详情信息
export function updateStoreDetail(data) {
  return request({
    url: '/core/storeDetail',
    method: 'put',
    data: data
  })
}

// 删除商户详情信息
export function delStoreDetail(id) {
  return request({
    url: '/core/storeDetail/' + id,
    method: 'delete'
  })
}
